#ifndef COURSEEDITOR_H
#define COURSEEDITOR_H

#include <QtGui>

#include "Course.h"

//! Widget to edit the properties of a Student.
class CourseEditor : public QWidget
{

public:
	//! Constructor
	/*!
		@param parent See QWidget.
	*/
	CourseEditor( QWidget* parent );
	//! Destructor
	virtual ~CourseEditor();

	//! Set the Student to edit.
	void editCourse( Course* course );

private:
	Course* mCourse;
};

#endif // COURSEEDITOR_H